package com.xuerhua.yxt.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xuerhua.yxt.dao.HkFaceGroupMapper;
import com.xuerhua.yxt.model.HkFaceGroup;
import com.xuerhua.yxt.service.IHkFaceGroupService;

@Service("hkFaceGroupService")
public class HkFaceGroupServiceImpl implements IHkFaceGroupService {

	@Autowired
	private HkFaceGroupMapper hkFaceGroupMapper;
	
	@Override
	public int insertSelective(HkFaceGroup record) {
		return hkFaceGroupMapper.insertSelective(record);
	}

	@Override
	public HkFaceGroup selectByPrimaryKey(Integer id) {
		return hkFaceGroupMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(HkFaceGroup record) {
		return hkFaceGroupMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public HkFaceGroup selectByIndexCode(String indexCode) {
		return hkFaceGroupMapper.selectByIndexCode(indexCode);
	}

	@Override
	public List<HkFaceGroup> selectListByGroupType(String groupType, Integer schoolId) {
		return hkFaceGroupMapper.selectListByGroupType(groupType, schoolId);
	}

	@Override
	public HkFaceGroup selectByGroupName(String groupType, String grade) {
		return hkFaceGroupMapper.selectByGroupName(groupType, grade);
	}

}
